package com.smartplatform.service.impl;

import com.smartplatform.mapper.UserLoginlogMapper;
import com.smartplatform.pojo.SysLogininfor;
import com.smartplatform.service.UserLoginlogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author 咕唧
 * @Date 2022/5/29 13:02
 * @Version 1.0
 */
@Service
@Transactional
public class UserLoginlogServiceImpl implements UserLoginlogService {
    private UserLoginlogMapper userLoginlogMapper;

    @Autowired
    public void setUserLoginlogMapper(UserLoginlogMapper userLoginlogMapper) {
        this.userLoginlogMapper = userLoginlogMapper;
    }

    @Override
    public void insertUserLogin(SysLogininfor sysLogininfor) {
        userLoginlogMapper.insertUserLogin(sysLogininfor);
    }
}
